<template>
    <div class="ft_compts">
        <p>Copyright © {{ copyright }} All Rights Reserved. </p>
        <a href="https://beian.miit.gov.cn/">网站备案号： {{ record }}</a>
    </div>
</template>

<script>
import { getPageInfo } from "@/api/index";
export default {
    data() {
        return {
            record: '',
            copyright: ''
        }
    },
    created() {
        getPageInfo().then(res => {
            this.record = res.data.results[0].record
            this.copyright = res.data.results[0].copyright
        })
    }
}
</script>

<style lang="less" scoped>
.ft_compts {
    height: 106px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f0f2f5;
    font-size: 14px;
    line-height: 30px;
    color: rgba(0, 0, 0, .85);

    a {
        color: rgba(0, 0, 0, .85);
    }
}
</style>